import Platform

class HorizontalPlatform(Platform.Platform):
	def __init__(self,pos,image):
		Platform.Platform.__init__(self,pos,image,xphase=False,yphase=True)
	def drawingInformation(self):
		return self.pos,self.image
	def upperSide(self):
		return self.pos[1]
	def lowerSide(self):
		return self.pos[1]-self.getHeight()